package killer.admin.model;

import org.mybatis.spring.SqlSessionTemplate;

public class AdminDaoImpl implements AdminDao {
	private SqlSessionTemplate sqlSessionTemplate;
	
	public AdminDaoImpl(SqlSessionTemplate sqlSessionTemplate) {
		this.sqlSessionTemplate = sqlSessionTemplate;
	}

	@Override
	public AdminVO selectAdminByIdAndPassword(AdminVO paramAvo) {
		return sqlSessionTemplate.selectOne("admin.selectAdminByIdAndPassword", paramAvo);
	}

}
